<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>隐患统计</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no">
		<link rel="stylesheet" href="../../../layui/css/layui.css" media="all" />
		<link rel="stylesheet" href="../../../css/public.css" media="all" />
		<link rel="stylesheet" href="../../common/zTreeStyle.css" />
		<style type="text/css">
			.fowei {
				font-size: bold;
				color: black;
			}
			
			.back_san {
				display: inline-block;
				vertical-align: bottom;
				margin-right: -4px;
				width: 0;
				height: 0;
				border-bottom: 19px solid transparent;
				border-top: 19px solid transparent;
				border-left: 19px solid transparent;
				border-right: 19px solid #1E9FFF;
			}
			
			.backtit {
				display: inline-block;
				float: right;
				position: relative;
				top: -10px;
			}
			
			.topsty {
				height: 40px;
				border-bottom: 1px solid #1E9FFF;
				line-height: 40px;
				background: white;
			}
		</style>
	</head>

	<body class="childrenBody">
		<div class="topsty">
			<div style="display: inline;"><span style="font-size: 15px;"><i class="layui-icon" style="color: #1E9FFF;margin:0 10px 0 30px;">&#xe65b;</i>统计</span></div>
			<div class="backtit" style="top: -5px;">
				<div class="back_san"></div>
				<a href="../../../page/risk/risk-list/risk-list.html" class="layui-btn layui-btn-normal addNews_btn">返回列表页</a>
			</div>
		</div>
		<form class="layui-form" style="margin-top: 10px;">

			<!--<a href="../../../page/risk/risk-list/risk-list.html" class="layui-btn layui-btn-normal addNews_btn">返回</a>-->
			<form class="layui-form" id="selcompany">
				<div class="layui-inline">
					<div class="layui-input-inline">
						<label class="layui-form-label">单位选择</label>
						<div class="layui-input-block" style="position: relative;">
							<input type="text" id="resclas" readonly="" placeholder="请选择单位" style="padding-left:5px;overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 1;
    -webkit-box-orient:vertical;width;100px" autocomplete="off" class="layui-input" lay-verify="required">

							<ul id="userdutycompay" class="ztree" style="height: 300px;width: 239px; overflow: auto;display: none; position: absolute;z-index: 999;background:white;"></ul>

						</div>
					</div>
				</div>
				<!--<div class="layui-inline">
<button type="button" class="layui-btn layui-btn-normal layui-btn-sm" id="quedingqy" style="position: relative;top: -5px;left:0px;" >确定选择</button>
			</div>-->
				<div class="layui-inline">
					<label class="layui-form-label">开始日期</label>
					<div class="layui-input-block">
						<input type="text" class="layui-input searchVal" readonly="" id="statdate" placeholder="开始时间">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">结束日期</label>
					<div class="layui-input-block">
						<input type="text" class="layui-input searchVal" readonly="" id="enddate" placeholder="结束时间">
					</div>

				</div>
				<div class="layui-inline">
					<button type="button" id="getval" class="layui-btn layui-btn-normal">统计</button>
				</div>

				<div class="layui-inline">
					<button type="button" id="saveImg" class="layui-btn layui-btn-normal">导出</button>
				</div>
			</form>
			<div id="perbin">

			</div>

			<div id="container" style=" height: 400px; width: 50%; margin: 0 auto;text-align: center;color: #999999;margin-top: 30px;">
				<h1>可统计选定单位任意时间段的隐患数据</h1>
			</div>

		</form>
		<script type="text/javascript" src="../../common/jquery-1.11.3.min.js"></script>
		<script type="text/javascript" src="../../common/config.js"></script>
		<script type="text/javascript" src="../../common/highcharts.js"></script>
		<script type="text/javascript" src="../../../layui/layui.js"></script>
		<script src="https://code.jquery.com/jquery-git.js"></script>

		<script type="text/javascript" src="../../common/jquery.ztree.core.js"></script>
		<script type="text/javascript" src="../../common/jquery.ztree.excheck.js"></script>
		<script type="text/javascript" src="../../common/html2canvas.js"></script>
		<script type="text/javascript" src="../../common/jsPdf.debug.js"></script>
		<script type="text/javascript" src="risk-statistics.js"></script>
		<script>
			$("body").click(function() {
				$("#userdutycompay").hide();
			})
			$('#resclas').click(function() {
				return false;
			});
			$('#userdutycompay').click(function() {
				return false;
			});
		</script>
	</body>

</html>